#include<stdio.h>

int main (void)
{
	int a,b,c;
	int t,s;
	
	printf("Enter a,b,c\n");
	scanf("%d %d %d",&a,&b,&c);
	
	if (a > b){
		t=a;
		a=b;
		b=t;
	}
	else if(b > c){
		s=b;
		b=c;
		b=s; 
	}
	
	printf("%d -> %d -> %d",a,b,c);
	
	return 0;
}
